const message = [
  {
    path: '/message',
    name: 'Message',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/index'),
    children: [
      // {
      //   path: '',
      //   name: 'MessageType',
      //   component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/type')
      // },
      // {
      //   path: 'list',
      //   name: 'MessageList',
      //   component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/list')
      // },
      {
        path: 'h5',
        name: 'MessageH5',
        component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5'),
        children: [
          {
            path: 'checkIn/:id',
            name: 'MessageH5CheckIn',
            component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/checkIn.vue')
          },
          {
            path: 'checkOut/:id',
            name: 'MessageH5CheckOut',
            component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/checkOut.vue')
          },
          {
            path: 'studentReport/:id',
            component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/studentReport.vue'),
            children: [
              {
                path: '',
                name: 'MessageH5StudentReport',
                component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/reportInfo.vue')
              },
              {
                path: 'personInfo',
                name: 'MessageH5StudentReportPersonInfo',
                component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/personInfo.vue')
              },
              {
                path: 'gameInfo',
                name: 'MessageH5StudentReportGameInfo',
                component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/gameInfo.vue')
              },
              {
                path: 'trainInfo',
                name: 'MessageH5StudentReportTrainInfo',
                component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/trainInfo.vue')
              },
              {
                path: 'declareInfo',
                name: 'MessageH5StudentReportDeclareInfo',
                component: () => import(/* webpackChunkName: "common" */ '@/viewMessage/h5/declareInfo.vue')
              }
            ]
          }
        ]
      }
    ]
  }
];

export default message;
